package id.co.shuba.spamobile.model;


@Table("TBL_PROSPECT")
public class ProspectInfo {
	@PrimaryKey
	@Column("PROSPECT_ID")
	private String prospectID;
	
	@Column("PROSPECT_NO")
	private String prospectNo;
		
	@FormField
	@Column("FULL_NAME")
	private String fullName;
	
	@FormField
	@Column("JENIS_USAHA")
	private String jenisUsaha;
	
	@FormField
	@Column("RENCANA_PLAFON")
	private long rencanaPlafon;
	
	@FormField
	@Column("MOBILE_PHONE")
	private String mobilePhone;
	
	@FormField
	@Column("OFFICE_PHONE")
	private String officePhone;
	
	@FormField
	@Column("RESIDENTIAL_PHONE")
	private String residentialPhone;
		
	@FormField
	@Column("KODYA_KAB_BUSINESS")
	private String kodyaKabBusiness;
	
	@FormField
	@Column("KECAMATAN_BUSINESS")
	private String kecamatanBusiness;
	
	@FormField
	@Column("KELURAHAN_BUSINESS")
	private String kelurahanBusiness;
	
	@FormField
	@Column("PROSPECT_TYPE")
	private String prospectType;
	
	@FormField
	@Column("DEBTOR_TYPE")
	private String debtorType;
	
	@FormField
	@Column("CHANNELING")
	private String channeling;	
	
	@Column("ZIP_CODE_BUSINESS")
	private String zipCodeBusiness;
	
	@FormField
	@Column("ADDRESS_BUSINESS")
	private String addressBusiness;
	
	@FormField
	@Column("EKSTERNAL")
	private String eksternal;
	
	@FormField
	@Column("REFERENSI")
	private String referensi;	
	
	@Column("INBOX")
	private boolean inbox;
	
	@Column("PROGRESS_STATUS")
	private String progressStatus;
	
	@Column("IS_UPLOAD")
	private String isUpload;
	
	@FormField
	@Column("AVG_EXPENSE")
	private long avgExpense;
	
	@FormField
	@Column("DATE_OF_BIRTH")
	private String dateOfBirth;
	
	@FormField
	@Column("MARITAL_STATUS")
	private String maritalStatus;
	
	@FormField
	@Column("SPOUSE_NAME")
	private String spouseName;
	
	@FormField
	@Column("JML_TANGGUNGAN")
	private int jmlTanggungan;
	
	@FormField
	@Column("PRODUCT_CODE")
	private String productCode;
	
	@FormField
	@Column("KTP_NO")
	private String ktpNo;
	
	@FormField
	@Column("KTP_NAME")
	private String ktpName;
	
	@FormField
	@Column("KTP_ADDRESS")
	private String ktpAddress;
	
	@Column("ENTRY_BY")
	private String entryBy;
	
	@Column("ENTRY_DATE")
	private String entryDate;
	
	@Column("UPDATE_BY")
	private String updateBy;
	
	@Column("UPDATE_DATE")
	private String updateDate;
		
	@Column("UPLOAD_BY")	
	private String uploadBy;
	
	@Column("UPLOAD_DATE")
	private String uploadDate;
	
	@Column("AO_CODE")
	private String aoCode;
	
	@Column("UNIT_CODE")
	private String unitCode;
	
	@Column("PIPELINE_START_TIME")
	private String pipelineStartTime;
	
	@Column("PIPELINE_FINISH_TIME")
	private String pipelineFinishTime;
	
	@Column("PROSPECT_START_TIME")
	private String prospectStartTime;
	
	@Column("PROSPECT_FINISH_TIME")
	private String prospectFinishTime;
	
	@Column("UM_DECISION")
	private String umDecision;
	
	@Column("UM_DECISION_NOTE")
	private String umDecisionNote;
	
	@Column("UM_DECISION_DATE")
	private String umDecisionDate;
	
	@Column("REPUTASI_DEBITUR")
	private String reputasiDebitur;
	
	@Column("CO_ASSIGNED")
	private String coAssigned;
	
	@Column("ALTERNATE_FOR")
	private String alternateFor;
	
	@Column("NOT_INTERESTED_REASON")
	private String notInterestedReason;
	
	@Column("COORDINATE")
	private String coordinate;
	
	@Column("GU_CLOSE_DEAL")
	private String guCloseDeal;
	
	@Column("IS_DELETED")
	private String isDeleted;
	
	@Column("IS_OFFLINE_ENTRY")
	private String isOfflineEntry;
		
	private String timeVisitPlan;
	
	@Column("CIF_NUMBER")
	private int CIFNumber;
	
	@Column("OMZET_1")
	private long omzet1;
	
	@Column("OMZET_2")
	private long omzet2;
	
	@Column("OMZET_3")
	private long omzet3;
	
	@Column("OMZET_4")
	private long omzet4;
	
	@Column("OMZET_5")
	private long omzet5;
	
	@Column("OMZET_6")
	private long omzet6;
	
	@Column("OMZET_7")
	private long omzet7;
	
	@Column("OMZET_8")
	private long omzet8;
	
	@Column("OMZET_9")
	private long omzet9;
	
	@Column("OMZET_10")
	private long omzet10;
	
	@Column("OMZET_11")
	private long omzet11;
	
	@Column("OMZET_12")
	private long omzet12;
	
	@Column("OMZET_AVERAGE")
	private long omzetAverage;
	
	@Column("LOAN_NUMBER")
	private String loanNumber;
	
	@Column("SOURCE_CODE")
	private String sourceCode;
	
	@Column("IS_PIPELINE_KP")
	private String isPipelineKP;
	
	@Column("GU_FUP")
	private String guFup;
	
	@Column("ROW_ID")
	private String rowID;
	
	@Column("FLAG_FREEZE")
	private int flagFreeze;
	
	@Column("PLACE_OF_BIRTH")
	private String placeOfBirth;
	
	@Column("NIP")
	private String nip;
	
	@Column("KARAKTER")
	private String karakter;
	
	private String visitDate;
				
	public String getProspectID() {
		return prospectID;
	}
	public void setId(String id) {
		this.prospectID = id;
	}
	public String getProspectNo() {
		return prospectNo;
	}	
	public void setProspectNo(String no) {
		this.prospectNo = no;
	}
	public String getFullName() {
		return fullName;
	}
	public void setFullName(String fullName) {
		this.fullName = fullName;
	}
	public String getJenisUsaha() {
		return jenisUsaha;
	}
	public void setJenisUsaha(String jenisUsaha) {
		this.jenisUsaha = jenisUsaha;
	}
	public long getRencanaPlafon() {
		return rencanaPlafon;
	}
	public void setRencanaPlafon(long rencanaPlafon) {
		this.rencanaPlafon = rencanaPlafon;
	}
	public String getMobilePhone() {
		return mobilePhone;
	}
	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}
	public String getOfficePhone() {
		return officePhone;
	}
	public void setOfficePhone(String officePhone) {
		this.officePhone = officePhone;
	}
	public String getResidentialPhone() {
		return residentialPhone;
	}
	public void setResidentialPhone(String residentialPhone) {
		this.residentialPhone = residentialPhone;
	}
	public String getKodyaKabBusiness() {
		return kodyaKabBusiness;
	}
	public void setKodyaKabBusiness(String kodya) {
		this.kodyaKabBusiness = kodya;
	}
	public String getKecamatanBusiness() {
		return kecamatanBusiness;
	}
	public void setKecamatanBusiness(String kecamatan) {
		this.kecamatanBusiness = kecamatan;
	}
	public String getKelurahanBusiness() {
		return kelurahanBusiness;
	}
	public void setKelurahanBusiness(String kelurahan) {
		this.kelurahanBusiness = kelurahan;
	}
	public String getProspectType() {
		return prospectType;
	}
	public void setProspectType(String prospectType) {
		this.prospectType = prospectType;
	}
	public String getDebtorType() {
		return debtorType;
	}
	public void setDebtorType(String debtorType) {
		this.debtorType = debtorType;
	}
	public String getChanneling() {
		return channeling;
	}
	public void setChanneling(String channeling) {
		this.channeling = channeling;
	}
	public String getZipCodeBusiness() {
		return zipCodeBusiness;
	}
	public void setZipCodeBusiness(String postalCode) {
		this.zipCodeBusiness = postalCode;
	}
	public String getAddressBusiness() {
		return addressBusiness;
	}
	public void setAddressBusiness(String address) {
		this.addressBusiness = address;
	}
	public String getEksternal() {
		return eksternal;
	}
	public void setEksternal(String externalType) {
		this.eksternal = externalType;
	}
	public String getReferensi() {
		return referensi;
	}
	public void setReferensi(String reference) {
		this.referensi = reference;
	}	
	public boolean isInbox() {
		return inbox;
	}
	public void setInbox(boolean inbox) {
		this.inbox = inbox;
	}		
	public String getProgressStatus() {
		return progressStatus;
	}
	public void setProgressStatus(String progressStatus) {
		this.progressStatus = progressStatus;
	}			
	public long getAvgExpense() {
		return avgExpense;
	}
	public void setAvgExpense(long avgExpense) {
		this.avgExpense = avgExpense;
	}
	public String getDateOfBirth() {
		return dateOfBirth;
	}
	public void setDateOfBirth(String birthDate) {
		this.dateOfBirth = birthDate;
	}
	public String getMaritalStatus() {
		return maritalStatus;
	}
	public void setMaritalStatus(String maritalStatus) {
		this.maritalStatus = maritalStatus;
	}
	public String getSpouseName() {
		return spouseName;
	}
	public void setSpouseName(String spouseName) {
		this.spouseName = spouseName;
	}	
	public String getProductCode() {
		return productCode;
	}
	public void setProductCode(String product) {
		this.productCode = product;
	}
	public int getJmlTanggungan() {
		return jmlTanggungan;
	}
	public void setJmlTanggungan(int jmlTanggungan) {
		this.jmlTanggungan = jmlTanggungan;
	}
	public String getKtpNo() {
		return ktpNo;
	}
	public void setKtpNo(String ktpNo) {
		this.ktpNo = ktpNo;
	}
	public String getKtpName() {
		return ktpName;
	}
	public void setKtpName(String ktpName) {
		this.ktpName = ktpName;
	}
	public String getKtpAddress() {
		return ktpAddress;
	}
	public void setKtpAddress(String ktpAddress) {
		this.ktpAddress = ktpAddress;
	}
	public String getIsUpload() {
		return isUpload;
	}
	public void setIsUpload(String isUpload) {
		this.isUpload = isUpload;
	}	
	public String getEntryBy() {
		return entryBy;
	}
	public void setEntryBy(String entryBy) {
		this.entryBy = entryBy;
	}
	public String getEntryDate() {
		return entryDate;
	}
	public void setEntryDate(String entryDate) {
		this.entryDate = entryDate;
	}
	public String getUpdateBy() {
		return updateBy;
	}
	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}
	public String getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(String updateDate) {
		this.updateDate = updateDate;
	}
	public String getAoCode() {
		return aoCode;
	}
	public void setAoCode(String aoCode) {
		this.aoCode = aoCode;
	}
	public String getUnitCode() {
		return unitCode;
	}
	public void setUnitCode(String unitCode) {
		this.unitCode = unitCode;
	}
	public String getUploadBy() {
		return uploadBy;
	}
	public void setUploadBy(String uploadBy) {
		this.uploadBy = uploadBy;
	}
	public String getUploadDate() {
		return uploadDate;
	}
	public void setUploadDate(String uploadDate) {
		this.uploadDate = uploadDate;
	}	
	public String getPipelineStartTime() {
		return pipelineStartTime;
	}
	public void setPipelineStartTime(String pipelineStartTime) {
		this.pipelineStartTime = pipelineStartTime;
	}
	public String getPipelineFinishTime() {
		return pipelineFinishTime;
	}
	public void setPipelineFinishTime(String pipelineFinishTime) {
		this.pipelineFinishTime = pipelineFinishTime;
	}
	public String getProspectStartTime() {
		return prospectStartTime;
	}
	public void setProspectStartTime(String prospectStartTime) {
		this.prospectStartTime = prospectStartTime;
	}
	public String getProspectFinishTime() {
		return prospectFinishTime;
	}
	public void setProspectFinishTime(String prospectFinishTime) {
		this.prospectFinishTime = prospectFinishTime;
	}
	public String getUmDecision() {
		return umDecision;
	}
	public void setUmDecision(String umDecision) {
		this.umDecision = umDecision;
	}
	public String getUmDecisionNote() {
		return umDecisionNote;
	}
	public void setUmDecisionNote(String umDecisionNote) {
		this.umDecisionNote = umDecisionNote;
	}
	public String getUmDecisionDate() {
		return umDecisionDate;
	}
	public void setUmDecisionDate(String umDecisionDate) {
		this.umDecisionDate = umDecisionDate;
	}
	public String getReputasiDebitur() {
		return reputasiDebitur;
	}
	public void setReputasiDebitur(String reputasiDebitur) {
		this.reputasiDebitur = reputasiDebitur;
	}
	public String getCoAssigned() {
		return coAssigned;
	}
	public void setCoAssigned(String coAssigned) {
		this.coAssigned = coAssigned;
	}
	public String getAlternateFor() {
		return alternateFor;
	}
	public void setAlternateFor(String alternateFor) {
		this.alternateFor = alternateFor;
	}
	public String getNotInterestedReason() {
		return notInterestedReason;
	}
	public void setNotInterestedReason(String notInterestedReason) {
		this.notInterestedReason = notInterestedReason;
	}
	public String getCoordinate() {
		return coordinate;
	}
	public void setCoordinate(String coordinate) {
		this.coordinate = coordinate;
	}			
	public String getGuCloseDeal() {
		return guCloseDeal;
	}
	public void setGuCloseDeal(String guCloseDeal) {
		this.guCloseDeal = guCloseDeal;
	}
	public String getVisitDate() {
		return visitDate;
	}
	public void setVisitDate(String visitDate) {
		this.visitDate = visitDate;
	}	
	public String getIsDeleted() {
		return isDeleted;
	}
	public void setIsDeleted(String isDeleted) {
		this.isDeleted = isDeleted;
	}
	public String getIsOfflineEntry() {
		return isOfflineEntry;
	}
	public void setIsOfflineEntry(String isOfflineEntry) {
		this.isOfflineEntry = isOfflineEntry;
	}	
	public String getTimeVisitPlan() {
		return timeVisitPlan;
	}
	public void setTimeVisitPlan(String timeVisitPlan) {
		this.timeVisitPlan = timeVisitPlan;
	}
	public String getFullVisitPlan() {
		return visitDate + " " + (timeVisitPlan != null && !"".equals(timeVisitPlan)? timeVisitPlan + ":00": "00:00:00");
	}
	
	public boolean isComplete() {
		return "CD".equalsIgnoreCase(progressStatus) ||				
				"RJU".equalsIgnoreCase(progressStatus) ||
				"RJD".equalsIgnoreCase(progressStatus) ||
				"RJS".equalsIgnoreCase(progressStatus);
	}
	public int getCIFNumber() {
		return CIFNumber;
	}
	public void setCIFNumber(int cIFNumber) {
		CIFNumber = cIFNumber;
	}
	
	public long getOmzet1() {
		return omzet1;
	}
	public void setOmzet1(long omzet1) {
		this.omzet1 = omzet1;
	}
	public long getOmzet2() {
		return omzet2;
	}
	public void setOmzet2(long omzet2) {
		this.omzet2 = omzet2;
	}
	public long getOmzet3() {
		return omzet3;
	}
	public void setOmzet3(long omzet3) {
		this.omzet3 = omzet3;
	}
	public long getOmzet4() {
		return omzet4;
	}
	public void setOmzet4(long omzet4) {
		this.omzet4 = omzet4;
	}
	public long getOmzet5() {
		return omzet5;
	}
	public void setOmzet5(long omzet5) {
		this.omzet5 = omzet5;
	}
	public long getOmzet6() {
		return omzet6;
	}
	public void setOmzet6(long omzet6) {
		this.omzet6 = omzet6;
	}
	public long getOmzet7() {
		return omzet7;
	}
	public void setOmzet7(long omzet7) {
		this.omzet7 = omzet7;
	}
	public long getOmzet8() {
		return omzet8;
	}
	public void setOmzet8(long omzet8) {
		this.omzet8 = omzet8;
	}
	public long getOmzet9() {
		return omzet9;
	}
	public void setOmzet9(long omzet9) {
		this.omzet9 = omzet9;
	}
	public long getOmzet10() {
		return omzet10;
	}
	public void setOmzet10(long omzet10) {
		this.omzet10 = omzet10;
	}
	public long getOmzet11() {
		return omzet11;
	}
	public void setOmzet11(long omzet11) {
		this.omzet11 = omzet11;
	}
	public long getOmzet12() {
		return omzet12;
	}
	public void setOmzet12(long omzet12) {
		this.omzet12 = omzet12;
	}
	public long getOmzetAverage() {
		return omzetAverage;
	}
	public void setOmzetAverage(long omzetAverage) {
		this.omzetAverage = omzetAverage;
	}
	public String getLoanNumber() {
		return loanNumber;
	}
	public void setLoanNumber(String loanNumber) {
		this.loanNumber = loanNumber;
	}
	public String getSourceCode() {
		return sourceCode;
	}
	public void setSourceCode(String sourceCode) {
		this.sourceCode = sourceCode;
	}
	public String getIsPipelineKP() {
		return isPipelineKP;
	}
	public void setIsPipelineKP(String isPipelineKP) {
		this.isPipelineKP = isPipelineKP;
	}
	public String getGuFup() {
		return guFup;
	}
	public void setGuFup(String guFup) {
		this.guFup = guFup;
	}
	public String getRowID() {
		return rowID;
	}
	public void setRowID(String rowID) {
		this.rowID = rowID;
	}			
	public int getFlagFreeze() {
		return this.flagFreeze;		
	}
	public void setFlagFreeze(int flagFreeze) {
		this.flagFreeze = flagFreeze;
	}
	public String getPlaceOfBirth() {
		return this.placeOfBirth;
	}	
	public void setPlaceOfBirth(String placeOfBirth) {
		this.placeOfBirth = placeOfBirth;
	}
	public String getNIP() {
		return this.nip;
	}	
	public void setNIP(String nip) {
		this.nip = nip;
	}
	public String getKarakter() {
		return this.karakter;
	}	
	public void setKarakter(String karakter) {
		this.karakter = karakter;
	}
}
